package com.yupi.springbootinit.model.dto.search;

import com.yupi.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 图片查询请求
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class SearchRequest extends PageRequest implements Serializable {

    /**
     * 统一搜素词
     */
    private String searchText;

    /**
     * 搜索页面类型
     */
    private String type;

    private static final long serialVersionUID = 1L;
}
